package java8.default_interface;

public class FormulaImpl implements Formula {

    @Override
    public double calculate(int a) {
        return a * a;
    }

}
